package com.taocyb.core.uc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.taocyb.commons.uc.entity.Buyer;
import com.taocyb.commons.uc.service.BuyerService;
import com.taocyb.commons.uc.vo.BuyerVo;
import com.taocyb.core.uc.manager.BuyerManager;
import com.taocyb.framework.orm.Page;

@Service("buyerService")
public class BuyerServiceImpl implements BuyerService{

	@Autowired
	private BuyerManager buyerManager;

	@Override
	public Page<Buyer> findBuyerList(BuyerVo vo, Page<Buyer> page) {
		return buyerManager.findBuyerList(vo, page);
	}

	@Override
	public Long saveBuyer(Buyer buyer) {
		return buyerManager.saveBuyer(buyer);
	}
}
